#!/bin/sh
# how many time this sh script has been executed

f=/tmp/sandbox/counter

if [ -s $f ]; then
        n=$(cat "$f")
        n=$(($n+1))
else
        n=0
fi
echo "$n">"$f"
echo "Run Times =$n"
